using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
namespace Water.Web
{
    public class PageState
    {
        public static string State
        {
            get 
            {
                string state="";
                HttpContext context = HttpContext.Current;
                if (context != null)
                {
                    HttpRequest request = context.Request;
                    state = request.QueryString["_state"];
                    if (!string.IsNullOrEmpty(state))
                        state = state.ToLower();

                }
                return state;
            }
        }
       
    }
}
